View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000788 | T99X171.00 SKB Eagle | SW Issue | public | 2019-10-22 17:39 | 2020-09-28 13:53 |
| Reporter | Assigned To | Due Date | |||
| Priority | normal | Severity | s2-severe | Reproducibility | have not tried |
| Status | closed | Resolution | won't fix | ||
| Summary | 0000788: [common]It isn't match up for resizing PIP on Full channle list or Multivew as soon as exit from HomeUI during executing TV Web | ||||
| Description | Hi kerwin as talked in wechat, although AML give new patch about PIP resize issue, it still happen issue. according to Digicap's comment, they already set for resize properly and it also receive callback to UI. However, Driver don't receive a right value. it seem to receive as height 1080 . so Digicap think it seem be android's bug. they will make an workaround solution later. after see a log below, please ask it to a google. 10-17 23:37:59.373 11382 11382 D G2TvFragment: resizeMainPlayer x : 1267, y : 0, width : 653, height : 370, fullSize : false // Resize in UI. 10-17 23:37:59.375 11382 11382 D PlayerManager: resizeMainPlayer is not full 10-17 23:37:59.376 11382 11382 I MainActivity: hideNotice() called 10-17 23:37:59.376 11382 11382 D NoticeUIControll: hideNotice() called 10-17 23:37:59.390 11382 11382 D WM : width:653height:1080java.lang.Throwable // why don't know to call this feature. 10-17 23:37:59.390 11382 11382 D WM : at android.view.SurfaceView.onMeasure(SurfaceView.java:339) 10-17 23:37:59.390 11382 11382 D WM : at android.view.View.measure(View.java:23169) 10-17 23:37:59.390 11382 11382 D WM : at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715) 10-17 23:37:59.390 11382 11382 D WM : at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461) 10-17 23:37:59.390 11382 11382 D WM : at android.view.View.measure(View.java:23169) 10-17 23:37:59.390 11382 11382 D WM : at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) 10-17 23:37:59.390 11382 11382 D WM : at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) 10-17 23:37:59.390 11382 11382 D WM : at android.view.View.measure(View.java:23169) 10-17 23:37:59.390 11382 11382 D WM : at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) 10-17 23:37:59.390 11382 11382 D WM : at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) 10-17 23:37:59.390 11382 11382 D WM : at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) 10-17 23:37:59.390 11382 11382 D WM : at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) 10-17 23:37:59.390 11382 11382 D WM : at android.view.View.measure(View.java:23169) 10-17 23:37:59.390 11382 11382 D WM : at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) 10-17 23:37:59.390 11382 11382 D WM : at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) 10-17 23:37:59.390 11382 11382 D WM : at com.android.internal.policy.DecorView.onMeasure(DecorView.java:716) 10-17 23:37:59.390 11382 11382 D WM : at android.view.View.measure(View.java:23169) 10-17 23:37:59.390 11382 11382 D WM : at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2730) 10-17 23:37:59.390 11382 11382 D WM : at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1576) 10-17 23:37:59.390 11382 11382 D WM : at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1863) 10-17 23:37:59.390 11382 11382 D WM : at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1464) 10-17 23:37:59.390 11382 11382 D WM : at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7195) 10-17 23:37:59.390 11382 11382 D WM : at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949) 10-17 23:37:59.390 11382 11382 D WM : at android.view.Choreographer.doCallbacks(Choreographer.java:761) 10-17 23:37:59.390 11382 11382 D WM : at android.view.Choreographer.doFrame(Choreographer.java:696) 10-17 23:37:59.390 11382 11382 D WM : at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935) 10-17 23:37:59.390 11382 11382 D WM : at android.os.Handler.handleCallback(Handler.java:873) 10-17 23:37:59.390 11382 11382 D WM : at android.os.Handler.dispatchMessage(Handler.java:99) 10-17 23:37:59.390 11382 11382 D WM : at android.os.Looper.loop(Looper.java:193) 10-17 23:37:59.390 11382 11382 D WM : at android.app.ActivityThread.main(ActivityThread.java:6680) 10-17 23:37:59.390 11382 11382 D WM : at java.lang.reflect.Method.invoke(Native Method) 10-17 23:37:59.390 11382 11382 D WM : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 10-17 23:37:59.390 11382 11382 D WM : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) 10-17 23:37:59.391 11382 11382 D WM : width:653height:370java.lang.Throwable // it seem set as properly. 10-17 23:37:59.391 11382 11382 D WM : at android.view.SurfaceView.onMeasure(SurfaceView.java:339) 10-17 23:37:59.391 11382 11382 D WM : at android.view.View.measure(View.java:23169) 10-17 23:37:59.391 11382 11382 D WM : at android.widget.RelativeLayout.measureChild(RelativeLayout.java:676) 10-17 23:37:59.391 11382 11382 D WM : at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:479) 10-17 23:37:59.391 11382 11382 D WM : at android.view.View.measure(View.java:23169) 10-17 23:37:59.391 11382 11382 D WM : at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) 10-17 23:37:59.391 11382 11382 D WM : at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) 10-17 23:37:59.391 11382 11382 D WM : at android.view.View.measure(View.java:23169) 10-17 23:37:59.391 11382 11382 D WM : at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) 10-17 23:37:59.391 11382 11382 D WM : at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) 10-17 23:37:59.391 11382 11382 D WM : at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) 10-17 23:37:59.391 11382 11382 D WM : at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) 10-17 23:37:59.391 11382 11382 D WM : at android.view.View.measure(View.java:23169) 10-17 23:37:59.391 11382 11382 D WM : at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) 10-17 23:37:59.391 11382 11382 D WM : at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) 10-17 23:37:59.391 11382 11382 D WM : at com.android.internal.policy.DecorView.onMeasure(DecorView.java:716) 10-17 23:37:59.391 11382 11382 D WM : at android.view.View.measure(View.java:23169) 10-17 23:37:59.391 11382 11382 D WM : at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2730) 10-17 23:37:59.391 11382 11382 D WM : at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1576) 10-17 23:37:59.391 11382 11382 D WM : at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1863) 10-17 23:37:59.391 11382 11382 D WM : at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1464) 10-17 23:37:59.391 11382 11382 D WM : at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7195) 10-17 23:37:59.391 11382 11382 D WM : at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949) 10-17 23:37:59.391 11382 11382 D WM : at android.view.Choreographer.doCallbacks(Choreographer.java:761) 10-17 23:37:59.391 11382 11382 D WM : at android.view.Choreographer.doFrame(Choreographer.java:696) 10-17 23:37:59.391 11382 11382 D WM : at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935) 10-17 23:37:59.391 11382 11382 D WM : at android.os.Handler.handleCallback(Handler.java:873) 10-17 23:37:59.391 11382 11382 D WM : at android.os.Handler.dispatchMessage(Handler.java:99) 10-17 23:37:59.391 11382 11382 D WM : at android.os.Looper.loop(Looper.java:193) 10-17 23:37:59.391 11382 11382 D WM : at android.app.ActivityThread.main(ActivityThread.java:6680) 10-17 23:37:59.391 11382 11382 D WM : at java.lang.reflect.Method.invoke(Native Method) 10-17 23:37:59.391 11382 11382 D WM : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 10-17 23:37:59.391 11382 11382 D WM : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: -------------------- LivePlayerClock_0 --------------------- 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: sync_source:AVSYNC_SOURCE_PCR 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: AVSyncState: SYNCING_WITH_REF_CLOCK 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: ClockType: PCR_CLOCK 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: Ref ClockProviderState: CLOCK_PROVIDER_NORMAL 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: audio ptsOffset: 0ms 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: video ptsOffset: 0ms 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: audio output type: NORMAL 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: A-V diff:-32.80 ms (54.20 ms) 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: A-R diff:-33.83 ms 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: V-R diff:-1.02 ms 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: Jitter:300.00 ms 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: PCR delay offset:-6.64 ms 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: speed: 1.00 , scale: 1.00 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: nowRefMediaUs: 81741.530136 , refClockOffset:0.000000 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: anchorRefMediaUs:81737.595582, anchorRefRealUs:683.468482, nowUs:687.403036 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: nowAudioMediaUs: 81741.496311 (81741.583311) 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: nowVideoMediaUs: 81741.529111 (81741.529111) 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: nowPCRMediaUs: 81741.526216 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: demuxed apts: 81741.860644, audio buffered:0.277s 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: demuxed vpts: 81742.012922, video buffered:0.484s 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: mRefTimers.size: 1 10-17 23:37:59.402 9163 13163 D LivePlayerClock_0: ----------------------------------------------------- 10-17 23:37:59.403 11382 11382 I BtvMediaPlayer: surfaceChanged format:4, width:653, height:370 // UI receive callback which be resize from Android system. 10-17 23:37:59.403 3042 3250 E MesonHwc: Layer 0xae4d53d0 sideband channel 1, status: 0 10-17 23:37:59.404 3042 3250 E MesonHwc: setup, layer->mZorder=3, mFramebuffers.size=1,mFbType=2, mCompositionType=0 10-17 23:37:59.404 3042 3250 E MesonHwc: setup, layer->mZorder=2, mFramebuffers.size=2,mFbType=1, mCompositionType=0 10-17 23:37:59.404 3042 3250 E MesonHwc: setup, layer->mZorder=1, mFramebuffers.size=3,mFbType=2, mCompositionType=0 10-17 23:37:59.404 3042 3250 E MesonHwc: setup, layer->mZorder=0, mFramebuffers.size=4,mFbType=6, mCompositionType=0 10-17 23:37:59.404 3042 3250 E MesonHwc: pickoutOsdFbs, mZorder=0, mFramebuffers.size=4,mFbType=6, mCompositionType=7, bRemove=1 10-17 23:37:59.404 3042 3250 E MesonHwc: pickoutOsdFbs, mZorder=1, mFramebuffers.size=3,mFbType=2, mCompositionType=2, bRemove=0 10-17 23:37:59.404 3042 3250 E MesonHwc: pickoutOsdFbs, mZorder=2, mFramebuffers.size=3,mFbType=1, mCompositionType=2, bRemove=0 10-17 23:37:59.404 3042 3250 E MesonHwc: pickoutOsdFbs, mZorder=3, mFramebuffers.size=3,mFbType=2, mCompositionType=2, bRemove=0 10-17 23:37:59.404 3042 3250 E MesonHwc: ***CompositionFlow (validateDisplay): 10-17 23:37:59.405 3042 3250 E MesonHwc: ----------------------------------------------------------------------------------------- 10-17 23:37:59.405 3042 3250 E MesonHwc: | id | z | type |blend| alpha |t| AFBC | Source Crop | Display Frame | 10-17 23:37:59.405 3042 3250 E MesonHwc: +------+-----+--------+-----+--------+-+--------+-------------------+-------------------+ 10-17 23:37:59.405 3042 3250 E MesonHwc: | 845| 3| scanout| 2|1.000000|0|80010300| 0 0 1920 1080| 0 0 1920 1080| 10-17 23:37:59.405 3042 3250 E MesonHwc: +------+-----+--------+-----+--------+-+--------+-------------------+-------------------+ 10-17 23:37:59.405 3042 3250 E MesonHwc: | 588| 2| render| 2|1.000000|0| 0| 0 0 1920 1080| 0 0 1920 1080| 10-17 23:37:59.405 3042 3250 E MesonHwc: +------+-----+--------+-----+--------+-+--------+-------------------+-------------------+ 10-17 23:37:59.405 3042 3250 E MesonHwc: | 331| 1| scanout| 2|1.000000|0| 0| 0 0 1920 1080| 0 0 1920 1080| 10-17 23:37:59.405 3042 3250 E MesonHwc: +------+-----+--------+-----+--------+-+--------+-------------------+-------------------+ 10-17 23:37:59.405 3042 3250 E MesonHwc: | 74| 0|sideband| 1|1.000000|0| 0| 0 0 -1 -1| 0 0 1920 1080| 10-17 23:37:59.405 3042 3250 E MesonHwc: ----------------------------------------------------------------------------------------- 10-17 23:37:59.405 11382 11382 D WM : width:1920height:1080java.lang.Throwable // receive a wrong value. 10-17 23:37:59.405 11382 11382 D WM : at android.view.SurfaceView.onMeasure(SurfaceView.java:339) 10-17 23:37:59.405 11382 11382 D WM : at android.view.View.layout(View.java:20659) 10-17 23:37:59.405 11382 11382 D WM : at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1083) 10-17 23:37:59.405 11382 11382 D WM : at android.view.View.layout(View.java:20672) Thanks | ||||
| Tags | No tags attached. | ||||
| Attach Tags | |||||
| User List |
(ALTech) SY Yoon |
|---|
|
2019-10-22 17:39 developer |
|
|
|
Hi Jason Park, Please describe the problem in detail. Be sure to include: - Steps to reproduce the problem (including sample apps and part of sample code). - What happened. - What you think the correct behavior should be. Don't forget to mention which version of Android you're using, and/or which device the problem appears on (model and Android version). Please also run "adb bugreport" and archive the output. |
|
|
hi Jason I answer as below. - Steps to reproduce the problem . I don't know about sample code. . step to reproduce. app : applications in TV앱. 1. Move to TV앱 2. Execute SmartHome 3. push HomeKey before launcher application( in a loading screen) 4. push a guide table of a program( keycode_guide, 편성표) 5. if happen issue, you can see a wrong size at top of right. 6. Move to Multivew. 7. you can see a wrong size at veiw2,view4.. - What you think the correct behavior should be. Player ask to resize to UI and UI also set a proper value . android frame also notice as callback to UI. But suddenly Hwcomposer don't receive a proper value. 10-17 23:37:59.373 11382 11382 D G2TvFragment: resizeMainPlayer x : 1267, y : 0, width : 653, height : 370, fullSize : false // UI resize 10-17 23:37:59.390 11382 11382 D WM : width:653height:1080java.lang.Throwable // why don't know cast a wrong value ? 10-17 23:37:59.391 11382 11382 D WM : width:653height:370java.lang.Throwable // why don't know cast it at two times? 10-17 23:37:59.403 11382 11382 I BtvMediaPlayer: surfaceChanged format:4, width:653, height:370 // it receive a callback as a value of resize from Android System to UI 10-17 23:37:59.405 11382 11382 D WM : width:1920height:1080java.lang.Throwable 10-17 23:37:59.405 11382 11382 D WM : at android.view.SurfaceView.onMeasure(SurfaceView.java:339) // suddenly why don't know cast a wrong value ? Driver receive a wrong value they think it is related to android bug. Thanks |
|
|
For Google engineer, they don't have environment. Please provide small sample program, Google engineer will use sample program to verify this issue with their standard Android TV Box. Note: The sample code should be executed successfully on their reference board. |
|
|
hi Jason I receive a step of procedure and called code from digicap. step 1. Play MediaPlayer (live) 2. Execute other App of Web ( ActivityStartActivity()) 3. Terminate MediaPlayer MediaPlayer release in surfaceDestroyed() of SurfaceHolder.Callback. 4. Push HomeKey 5. Play MediaPlayer MediaPlaer prepare - start in surfaceCreated() of SurfaceHolder.Callback 6. push a key for a guide table of a program( keycode_guide, 편성표) 7. after loading a guide table, Resize Player. RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(width, height); surfaceView.setLayoutParams(layoutParams); Thanks. |
|
|
Hi Mr. Jason Park Before reporting issue, we need all the information that I mentioned. If Digicap think the issue is related to Android Framework. I think this issue should be reproduced on standard Android TV. Please provide the simple sample program and part of sample code that Google engineer can reproduce this issue using standard Android TV on their side. |
|
|
hi Jason according to digcap cast some question to AML and TVstorm, this is closed. if need it later , I will reopen it. Thanks. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-10-22 17:39 |
|
New Issue | |
| 2019-10-22 17:39 |
|
Status | new => assigned |
| 2019-10-22 17:39 |
|
Assigned To | => (SW) Kerwin Chen |
| 2019-10-22 17:39 |
|
File Added: pipresize-fail.zip | |
| 2019-10-24 10:08 | (SW) Kerwin Chen | Assigned To | (SW) Kerwin Chen => (SW) Jason Ling |
| 2019-10-24 11:14 |
|
Note Added: 0003139 | |
| 2019-10-25 10:05 |
|
Note Added: 0003142 | |
| 2019-10-25 10:18 |
|
Note Added: 0003143 | |
| 2019-10-25 17:22 |
|
Note Added: 0003150 | |
| 2019-10-28 13:53 |
|
Note Added: 0003161 | |
| 2019-10-29 09:25 |
|
Issue Monitored: (ALTech) SY Yoon | |
| 2019-11-08 13:18 |
|
Note Added: 0003185 | |
| 2019-11-08 13:19 |
|
Status | assigned => acknowledged |
| 2019-12-27 15:47 |
|
Status | acknowledged => resolved |
| 2019-12-27 15:47 |
|
Resolution | open => won't fix |
| 2020-09-28 13:53 |
|
Status | resolved => closed |